package cjy.bank.factory;

import cjy.bank.dao.AccountDao;
import cjy.bank.dao.UserDao;
import cjy.bank.dao.impl.AccountDaoImpl;
import cjy.bank.dao.impl.UserDaoImpl;


public class DaoFactory {
	public static UserDao getUserDao()
	{
		return UserDaoImpl.getInstance();
	}
	public static AccountDao getAccountDao()
	{
		return AccountDaoImpl.getInstance();
	}
}
